package com.cloud.demo2020;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "hystrix-service", fallback = HystrixServiceImpl.class)
public interface HystrixService {
    @RequestMapping("/infoOk")
    String infoOk();
    @RequestMapping("/infoOk2")
    String infoOk2();
}
